package com.cqs.learning.spring.cloud.api.gateway.config;

import com.cqs.learning.spring.cloud.api.gateway.filter.AccessFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author lixw
 * @date created in 8:35 2020/4/10
 */
@Configuration
public class ZuulConfig {

    @Bean
    public AccessFilter accessFilter() {
        return new AccessFilter();
    }
}
